﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ewell.BizComponent.Charge.UI.VM
{
    public class ChooseInsurTypeVm: CashierBaseVm
    {
        /// <summary>
        /// 医保费别
        /// </summary>
        private List<PatientTypeVm> _patientTypeList;
        public List<PatientTypeVm> patientTypeList
        {
            get { return _patientTypeList; }
            set
            {
                if(value != _patientTypeList) {
                    _patientTypeList = value;
                    OnPropertyChanged(nameof(patientTypeList));
                }
            }
        }
        /// <summary>
        /// 选择的医保费别
        /// </summary>
        private PatientTypeVm _selectedPatientType;
        public PatientTypeVm selectedPatientType
        {
            get { return _selectedPatientType; }
            set
            {
                if (value != _selectedPatientType)
                {
                    _selectedPatientType = value;
                    OnPropertyChanged(nameof(selectedPatientType));
                }
            }
        }
    }
}
